/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FormularioHabitacion.java
 *
 * Created on 24/06/2010, 12:10:45 PM
 */

package CapaGrafica;

/**
 *
 * @author Maria
 */
public class FormularioHabitacion extends javax.swing.JFrame {

    /** Creates new form FormularioHabitacion */
    public FormularioHabitacion() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jBaceptar = new javax.swing.JButton();
        jBregresar = new javax.swing.JButton();
        jTFeCapacidad = new javax.swing.JTextField();
        jTFeSuperficie = new javax.swing.JTextField();
        jSeparator1 = new javax.swing.JSeparator();
        jLcapacidad = new javax.swing.JLabel();
        jLsuperficie = new javax.swing.JLabel();
        jCBestadoActual = new javax.swing.JComboBox();
        jCBtipoHabitacion = new javax.swing.JComboBox();
        jLestadoActual = new javax.swing.JLabel();
        jLtipoHab = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        jBaceptar.setText("Aceptar");
        jBaceptar.setName("jBaceptar"); // NOI18N
        jBaceptar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBaceptarActionPerformed(evt);
            }
        });

        jBregresar.setText("Regresar");
        jBregresar.setName("jBregresar"); // NOI18N

        jTFeCapacidad.setText("jTextField4");
        jTFeCapacidad.setName("jTFeCapacidad"); // NOI18N

        jTFeSuperficie.setText("jTextField2");
        jTFeSuperficie.setName("jTFeSuperficie"); // NOI18N

        jSeparator1.setName("jSeparator1"); // NOI18N

        jLcapacidad.setText("Capacidad:");
        jLcapacidad.setName("jLcapacidad"); // NOI18N

        jLsuperficie.setText("Superficie:");
        jLsuperficie.setName("jLsuperficie"); // NOI18N

        jCBestadoActual.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "<Seleccionar>", "Cabana", "Normal" }));
        jCBestadoActual.setName("jCBestadoActual"); // NOI18N
        jCBestadoActual.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBestadoActualActionPerformed(evt);
            }
        });

        jCBtipoHabitacion.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "<Seleccionar>", "Danada", "Habilitada", "En reparacion" }));
        jCBtipoHabitacion.setName("jCBtipoHabitacion"); // NOI18N
        jCBtipoHabitacion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jCBtipoHabitacionActionPerformed(evt);
            }
        });

        jLestadoActual.setText("Estado actual:");
        jLestadoActual.setName("jLestadoActual"); // NOI18N

        jLtipoHab.setText("Tipo de habitacion:");
        jLtipoHab.setName("jLtipoHab"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jSeparator1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addGap(55, 55, 55)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addGroup(layout.createSequentialGroup()
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                        .addGroup(layout.createSequentialGroup()
                                            .addComponent(jLestadoActual)
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                        .addComponent(jLcapacidad, javax.swing.GroupLayout.Alignment.LEADING))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE))
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(jLsuperficie)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jLtipoHab)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jCBestadoActual, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jCBtipoHabitacion, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jTFeCapacidad)
                            .addComponent(jTFeSuperficie))
                        .addGap(137, 137, 137))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(jBaceptar)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 148, Short.MAX_VALUE)
                        .addComponent(jBregresar)
                        .addGap(49, 49, 49))))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(24, 24, 24)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLcapacidad)
                    .addComponent(jTFeCapacidad, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTFeSuperficie, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLsuperficie))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jCBestadoActual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLestadoActual))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jCBtipoHabitacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLtipoHab))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 79, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jBregresar)
                    .addComponent(jBaceptar))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jBaceptarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBaceptarActionPerformed
        // TODO add your handling code here:
}//GEN-LAST:event_jBaceptarActionPerformed

    private void jCBtipoHabitacionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBtipoHabitacionActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jCBtipoHabitacionActionPerformed

    private void jCBestadoActualActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCBestadoActualActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jCBestadoActualActionPerformed

    /**
    * @param args the command line arguments
    */
   

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jBaceptar;
    private javax.swing.JButton jBregresar;
    private javax.swing.JComboBox jCBestadoActual;
    private javax.swing.JComboBox jCBtipoHabitacion;
    private javax.swing.JLabel jLcapacidad;
    private javax.swing.JLabel jLestadoActual;
    private javax.swing.JLabel jLsuperficie;
    private javax.swing.JLabel jLtipoHab;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JTextField jTFeCapacidad;
    private javax.swing.JTextField jTFeSuperficie;
    // End of variables declaration//GEN-END:variables

}
